export default {
  state: {
    aJumpPosition: [], // 所有楼层位置
    currentIndex: 0 // 当前楼层位置
  },
  getters: {
    aJumpPosition: state => state.aJumpPosition,
    currentFloorIndex: state => state.currentIndex
  },
  actions: {
  },
  mutations: {
    // 更新楼层位置
    updateIndexFloorTop(state, aTop) {
      state.aJumpPosition = aTop
    },
    // 更新楼层索引
    updateIndexFloorIndex(state, index) {
      state.currentIndex = index
    }
  }
}